Skip to content

Conversation

@marijnvdwerf
Copy link
Contributor

Lines like "Het Leven, De Wietel",51323152,5978139 used to crash the script. This was solved by using the python csv module, instead of simply splitting a string at every comma.

Issue previously caused:

Traceback (most recent call last):
  File "makePlan.py", line 215, in <module>
    sys.exit(main())
  File "makePlan.py", line 102, in main
    locs.append( np.array(parts[1:3],dtype=int) )
ValueError: invalid literal for long() with base 10: ' De Wietel"'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant